﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ArmyCreator.ViewModel
{
    public class UserViewModel : ModelObject
    {
        public string Login
        {
            get { return GetValue<string>("login", null); }
            set { SetValue("login", value); }
        }

        public string Password
        {
            get { return GetValue<string>("password", null); }
            set { SetValue("password", value); }
        }

        public string Token
        {
            get { return GetValue<string>("token", null); }
            set { SetValue("token", value); }
        }

        public ListingViewModel[] Listings
        {
            get { return GetValue<ListingViewModel[]>("listings", new ListingViewModel[0]); }
            set { SetValue("listings", value); }
        }


    }
}
